package com.kingdee.eas.xr;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class XrCommonFacadeFactory
{
    private XrCommonFacadeFactory()
    {
    }
    public static com.kingdee.eas.xr.IXrCommonFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xr.IXrCommonFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("2AD59F5B") ,com.kingdee.eas.xr.IXrCommonFacade.class);
    }
    
    public static com.kingdee.eas.xr.IXrCommonFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xr.IXrCommonFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("2AD59F5B") ,com.kingdee.eas.xr.IXrCommonFacade.class, objectCtx);
    }
    public static com.kingdee.eas.xr.IXrCommonFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xr.IXrCommonFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("2AD59F5B"));
    }
    public static com.kingdee.eas.xr.IXrCommonFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xr.IXrCommonFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("2AD59F5B"));
    }
}